#ifndef MEASUREBOX_H
#define MEASUREBOX_H

#include <QWidget>
#include <QPainter>

#include "plot.h"

#define EXTRA_LINE_LENGTH 7

class MeasureBox
{
public:
	MeasureBox();

	void setPlot(Plot* newPlot);
	Plot* getPlot();

	void draw(QPainter &p);

	void setStart(double x, double y);
	void setStop(double x, double y);

private:
    double mStartX;
    double mStartY;
    double mStopX;
    double mStopY;

	Plot* mPlot;
};

#endif
